import { getAction, deleteAction, putAction, postAction, httpAction, postFormData } from '@/api/manage'
const gateway = '/api/gateway/jic-backend-operation'

const materialBuyerShowList = (params) => getAction(gateway + '/operate/material/buyerShow/list', params) // 买家秀同步记录
const materialLook = (params) => getAction(gateway + '/operate/material/look', params) // look列表
const materialLookDetails = (params) => getAction(gateway + '/operate/material/look/detail', params) // look详情
const materialBuyerShowCreate = (params, brandId) => postAction(gateway + `/operate/material/buyerShow/create?brandId=${brandId}`, params, brandId) // 同步买家秀
const materialBuyerShowGroup = (params) => getAction(gateway + '/operate/material/buyerShow/group', params) // 归属分组
const polling = (params) => getAction(gateway + '/common/redis/polling', params) // 素材同步轮训结果
export {
  materialBuyerShowList,
  materialLook,
  materialLookDetails,
  materialBuyerShowCreate,
  materialBuyerShowGroup,
  polling
}